/*************************************************************************
    > File Name: hello1.c
    > Author: Xing.Dai
    > Mail: Xing.Dai@aliyun.com 
    > Created Time: 2017-05-24 22:11
 ************************************************************************/

#include <stdio.h>
#include <curses.h>

int main()
{
	initscr();	/* Turn on curses*/

	clear();
	move(10, 20);
	addstr("Hello world.");
	move(LINES - 1, 0);
	refresh();	/* update the screen. */
	getch();	/* wait for user input. */
	
	endwin();	/* turn off curses. */
	return 0;
}
